package Controller;
import javax.swing.*;
import javax.swing.table.*;

import View.AddNewCustomerView;
import View.UpdateCustomerView;

public class TryCodeClassTemp extends JFrame {
	 public static void main(String[] args) {
	/*	 AddNewCustomerView addNewCustomerView = new AddNewCustomerView();
		 addNewCustomerView.setSize(400, 300);
		 addNewCustomerView.setVisible(true);*/
		 
		 AddNewCustomerView u = new AddNewCustomerView();
		 u.setSize(400, 300);
		 u.setVisible(true);
	 }
}







/*		hila try 
 * 	

	
	
	
    private static final long serialVersionUID = 1L;
    private JTable table;

    public TryCodeClassTemp() {
        Object[] columnNames = {"Category","Permastion"};
        Object[][] data = {//
            {"Disposal",new Integer(1000), new Double(80.50), false},
            {"Sell", "MicroSoft", new Integer(2000), new Double(6.25), true},
        };
        DefaultTableModel model = new DefaultTableModel(data, columnNames);
        table = new JTable(model) {

            private static final long serialVersionUID = 1L;

            /*@Override
            public Class getColumnClass(int column) {
            return getValueAt(0, column).getClass();
            }
            @Override
            public Class getColumnClass(int column) {
                switch (column) {
                    case 0:
                        return String.class;
                    case 1:
                        return String.class;
                    case 2:
                        return Integer.class;
                    case 3:
                        return Double.class;
                    default:
                        return Boolean.class;
                }
            }
        };
        table.setPreferredScrollableViewportSize(table.getPreferredSize());
        JScrollPane scrollPane = new JScrollPane(table);
        getContentPane().add(scrollPane);
    }

    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                TryCodeClassTemp frame = new TryCodeClassTemp();
                frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
                frame.pack();
                frame.setLocation(150, 150);
                frame.setVisible(true);
            }
        });
    }
}*/
 